package com.xcf.cloud.usersvc.dao;

import com.xcf.cloud.usersvc.entity.UserAccount;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserAccountRepository extends JpaRepository<UserAccount, Integer> {

    UserAccount findTopByEmail(String email);

    UserAccount findTopByToken(String token);
}
